package com.laber.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "jwt")
@Data
public class JwtProperties {
    //令牌自定义标识
    private String header;
    //令牌密钥
    private String secret;
    //令牌有效期
    private int expireTime;

}
